import request from '@/utils/request'

// 查询旅游-报名列表
export function listTourismSignUp(query) {
  return request({
    url: '/member/tourismSignUp/list',
    method: 'get',
    params: query
  })
}

// 查询旅游-报名详细
export function getTourismSignUp(id) {
  return request({
    url: '/member/tourismSignUp/' + id,
    method: 'get'
  })
}

// 新增旅游-报名
export function addTourismSignUp(data) {
  return request({
    url: '/member/tourismSignUp',
    method: 'post',
    data: data
  })
}

// 修改旅游-报名
export function updateTourismSignUp(data) {
  return request({
    url: '/member/tourismSignUp',
    method: 'put',
    data: data
  })
}

// 删除旅游-报名
export function delTourismSignUp(id) {
  return request({
    url: '/member/tourismSignUp/' + id,
    method: 'delete'
  })
}

// 导出旅游-报名
export function exportTourismSignUp(query) {
  return request({
    url: '/member/tourismSignUp/export',
    method: 'get',
    params: query
  })
}